<%@ page language="java" pageEncoding="utf-8" %>
<%@ include file="/include/taglibs.jsp" %>
<script src="${path}/static/taoshunda/redpackage/redpackage.js"></script>
<link href="${path}/static/css/public/public.css" rel="stylesheet" type="text/css">

<div class="form-inline">

    <div class="input-group col-xs-2" style="float: left;margin-right: 6px;">
        <input class="form-control col-xs-3 entry" name="userNameS" placeholder="请输入用户名称" style="margin-right: 6px"/>
    </div>

    <div class="input-group col-xs-2" style="float: left;margin-right: 6px;">
        <input class="form-control col-xs-3 entry" name="bussNameS" placeholder="请输入商家名称" style="margin-right: 6px"/>
    </div>


    <select name="stateS" class="form-control entry">
        <option value="">请选择获取状态</option>
        <option value="1">已获取</option>
        <option value="2">未获取</option>
    </select>

    <button class="btn query_button" id="btnSearch">
        <%--<span class="glyphicon glyphicon-search"></span>--%>
        查询
    </button>
</div>


<table id="table"
       style="background-color:white"
       data-toggle="table"
       data-url="${path}/web/redpackage/redpackageQuery"
       data-toolbar="#toolbar"
       data-side-pagination="server"
       data-pagination="true"
       data-page-list="[ 10, 20, 50, 100, 500,1000]"
>
    <thead>
    <tr>
        <th data-checkbox="true"></th>
        <th data-field="uName">用户名称</th>
        <th data-field="bName">商家名称</th>
        <th data-field="order_all_money">订单金额</th>
        <th data-field="rebate_amount">红包金额</th>
        <th data-field="status" data-formatter="stateFormtter">状态</th>
        <th data-formatter="bussFormatter" data-events="bussEvent">操作</th>
    </tr>
    </thead>
</table>
